home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Sample Code / Newton Sample Code 1.2 / Communications / ADSPSample-2 / README.ADSP < prev   
Encoding:
Text File  |  1994-07-08  |  1.9 KB  |  63 lines  |  [TEXT/R*ch]

  1. README - ADSP SAMPLE
  2.  
  3.  
  4. GENERAL:
  5. This sample shows how to use ADSP endpoint and send text
  6. information between ADSP sockets.  It is a more recent
  7. version of the original ADSP sample distributed by DTS.
  8.  
  9.  
  10. ENVIRONMENT:
  11. NTK 1.01 -- won't work with ancient platforms files
  12.  
  13.  
  14. How to test this out:
  15. Get a good terminal emulator that handles Comm Toolbox tools,
  16. and get the AppleTalk ADSP Tool. Inside the Connection menu,
  17. specify:
  18.  
  19. Connection Type:  ADSP
  20. Local Name:       Ralph
  21. Zone:             (whatever your current zone is)
  22.  
  23. Connection type corresponds to the Type specifier in the
  24. address data (ADSP), and name to the name field.
  25.  
  26. Here's an example:
  27.  
  28. addressData: "Ralph:ADSP@LlamaZone";
  29.  
  30. Here "Ralph" is the Local Name, and  "ADSP" is the
  31. Connection Type. The Zone can be hardwired, or feel free to
  32. use the * notation for the current zone.  If you want to
  33. write a real application, consult the docs on how to use the
  34. Newton Chooser for finding ADSP servers.
  35.  
  36. Then after config, do a Wait for Connection in order to set
  37. the terminal emulator into server mode, and start the
  38. connection from the Newton.
  39.  
  40. I've noticed that if you close the connection from Newton the
  41. terminal emulators switch over to closed mode, so you maybe
  42. need to set the emulator program back to Wait mode every time
  43. before you want to connect again.
  44.  
  45. Enclosed are ClarisWorks and MacTerminal files with the right settings.
  46.  
  47.  
  48. OTHER INFORMATION GOOD TO KNOW:
  49. Read the Manuals and the Q&A Communication file. Read it.
  50. Do not anger the ADSP endpoint, do not send a lot of stuff,
  51. neither make many :Output() calls in a row.  Thou shall respect
  52. :AddDelayedAction().  Thou shall call CloseAppleTalk() when finished,
  53. and yea call :SetInputSpec() instead of setting nextInputSpec, except
  54. before :Abort(), when thy parameters shall be NIL.  Nil is the value,
  55. and the value shall be nil.  Zero is right out.
  56.  
  57.  
  58. FROM:
  59. Mike Cremer/Comms head
  60. Randy Carr/Phone head
  61. Kent Sandvik/DTS head
  62. Jim Schram/DTS Comms Guy
  63.